home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextGetSelection.z / XmTextGetSelection
Encoding:
Text File  |  2003-11-18  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_G_e_t_S_e_l_e_c_t_i_o_n - A Text function that retrieves the
  10.       value    of the primary selection
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Text.h>
  14.  
  15.       char * XmTextGetSelection (wwwwiiiiddddggggeeeetttt)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.       _X_m_T_e_x_t_G_e_t_S_e_l_e_c_t_i_o_n retrieves the value of the    primary
  20.       selection.  It returns a NULL    pointer    if no text is selected
  21.       in the widget.  The application is responsible for freeing
  22.       the storage associated with the string by calling _X_t_F_r_e_e.
  23.  
  24.       wwwwiiiiddddggggeeeetttt
  25.            Specifies the Text widget ID
  26.  
  27.       For a    complete definition of Text and    its associated
  28.       resources, see _X_m_T_e_x_t(_3_X).
  29.  
  30.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  31.       Returns a character pointer to the string that is associated
  32.       with the primary selection.
  33.  
  34.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  35.       _X_m_T_e_x_t(_3_X) and _X_m_T_e_x_t_G_e_t_S_e_l_e_c_t_i_o_n_W_c_s(_3_X).
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.